<extend name="Public:windows_oper" />
<block name="window_id">table-alter</block>
<block name="title">角色修改</block>
<block name="action">action="role_update_do"</block>
<block name="column">
<div class="form-group">
<label for="roleName" class="col-sm-3 control-label"><i class="light-red icon-asterisk" ></i>角色名</label>
<div class="col-sm-4">
<input type="text" class="form-control" name="rname" id="uroleName" placeholder="角色名">              
</div>
</div>   
<div class="form-group">
<label for="roleInfo" class="col-sm-3 control-label">角色描述</label>
<div class="col-sm-6">
<input type="text" class="form-control" name="rinfo" id="uroleInfo" placeholder="角色描述">              
</div>
</div>  			
<div class="form-group" >
<label class="col-sm-3 control-label"><i class="light-red icon-asterisk" ></i>权限</label>
	<div class="control-group col-sm-6" style="max-height:400px;overflow-y:auto;" >
	<volist name="FGlist" id="vo">
		<div class="checkbox">
			<label>
			<h4>
				<span class="lbl"> {$vo.fname}</span>
			</h4>
			</label>
		</div>
		
		<volist name="vo.subFG" id="ko">	
			<div class="checkbox">
				<div class="col-sm-1"></div>
				<label>
				<h5>
					<input type="checkbox" class="ace" name="parOAchk" forcheckboxgroup="group_sel{$ko.id}">
					<span class="lbl"> {$ko.fname}</span>
				</h5>
				</label>
			</div>
			
			<volist name="ko.subOA" id="wo" key="w">
				<div class="checkbox">
					<div class="col-sm-3"></div>
					<label name="usubOA">
					<h6 >
						<input name="oper_auth[]" value="{$wo.id}" id="uoper_auth" type="checkbox" class="ace" group="group_sel{$ko.id}" >
						<span class="lbl"> {$wo.oname}</span>
					</h6>
					</label>
				</div>				
			</volist>
		</volist>
	</volist>
	</div>            
</div> 
<input type="hidden" class="form-control" name="id" id="uroleId" value=""> 
</block>
<block name="submitname">提交</block>
